package com.oocl.oopdemo.heros;

import junit.framework.TestCase;

import org.junit.Test;

import com.oocl.oopdemo.herosInterface.Attackable;
import com.oocl.oopdemo.herosMap.Coordinate;
import com.oocl.oopdemo.herosbehavior.AttackAction;
import com.oocl.oopdemo.herosbehavior.NormalAttack;
import com.oocl.oopdemo.herosbehavior.Technical;

public class HeroTest extends TestCase{

	Hero damo=new Damo();
	public void testReleaseTechnical(){
		damo.releaseTechnical(1);
		
	}
	
	@Test
	public void testWalk(){
		Coordinate c=damo.walk("up", 300);
		
	}
	@Test
	public void testAttack(){
		Attackable a=new Damo();
		damo.attack(a,(Technical)damo.getTechnicals().get(0));
	}
	
	public void testUnderAttack(){
		AttackAction action =new NormalAttack();
		damo.underAttack(action);
	}
	
	public void testSetRed(){
		
	}
	public void testGetRed(){
		
	}
	public void testSetBlue(){
		
	}
	public void testGetBlue(){
		
	}
	

}
